package com.qf.trade.feign;

import com.qf.common.exceptions.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "trade", fallback = TradeFeignCallback.class, configuration = {FeignConfiguration.class})
public interface ITradeFeign {

    @GetMapping("/wallet/init/{userId}")
    String init(@PathVariable Long userId);
}
